package com.zhuiyun.project.api.appusercancel.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @ClassName userRecovery
 * Description T0D0
 * Author Administrator
 * @Date 2023/6/20
 * Version 1.0
 **/
@Data
@Table(name ="user_recovery")
@ToString
// 用户恢复申请实体类
public class userRecovery {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    private Integer restoreId;
    /**
     *申请状态
     */
    private Integer applicationStatus;
    /**
     *处理结果
     */
    private Integer processingResult;
    /**
     *驳回原因
     */
    private String rejectionReason;
    /**
     *处理人员
     */
    private String processor;
    /**
     *处理时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date processingTime;
    /**
     *申请时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date applicationTime;


}
